﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FriendService
{
    namespace FriendModel
    {
        public class UserData
        {
            public int id { get; set; }
            public string userName { get; set; }
            public string userEmail { get; set; }
            public int userSex { get; set; }
            public DateTime registerDate { get; set; }
        }

        public class PublishItem
        {
            public int userId { get; set; }
            public int id { get; set; }
            public DateTime publishDate { get; set; }
            public int type { get; set; }
        }

        public class PublishStatus : PublishItem
        {
            public string statusContent { get; set; }
        }

        public class PublishShare : PublishItem
        {
            public int resourceId { get; set; }
        }

        public class News
        {
            public int id { get; set; }
            public int newsOwnerId { get; set; }
            public int newsPublishItemId { get; set; }
        }

        public class Comment
        {
            public int id { get; set; }
            public int fromUserId { get; set; }
            public int toUserId { get; set; }
            public int publishItemId { get; set; }
            public string commentContent { get; set; }
            public DateTime commentDate { get; set; }
        }
    }
}